#ifndef __CON_H__
#define __CON_H__

#include <tipos.h>
#include <device.h>

#define MAX_CONSOLES 10

#define CON_SCANCODE_L_SHIFT 42
#define CON_SCANCODE_R_SHIFT 54

#define CON_SCANCODE_RIGHT 77
#define CON_SCANCODE_LEFT 75

#define CON_SCANCODE_CONTROL 29
#define CON_SCANCODE_ALT 56


void con_init();
chardev* con_open(void);
sint_32 con_write(chardev* this, const void* buf, uint_32 size);
int con_key_press(unsigned char scancode);

#endif
